import Loadable from 'react-loadable';
import Loading from '@/components/loading';

const Login = Loadable({
  loader: () => import('@/views/Login'),
  loading: Loading
});

const Layout = Loadable({
  loader: () => import('@/views/Layout'),
  loading: Loading
});

const Home = Loadable({
  loader: () => import('@/views/Home'),
  loading: Loading
});

export default {
  Login,
  Layout,
  Home
}